lib: Check for http_proxy being the empty string
authorMatthew Leeds <matthew.leeds@endlessm.com>
Tue, 2 Apr 2019 20:40:11 +0000 (13:40 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 2 Apr 2019 20:44:08 +0000 (20:44 +0000)
commitda57956327d601aa489392cd94e3f976dca29739
tree69c2b670ec735089a9e74e3ce2dff333812c7d6b
parentc9725d0befe0d79931c26483f61acf6b848f452c
lib: Check for http_proxy being the empty string

On at least one user's computer, g_getenv("http_proxy") returns the
empty string, so check for that and treat it as no proxy rather than
printing a warning.

See https://github.com/flatpak/flatpak/issues/2790

Closes: #1835
Approved by: cgwalters
src/libostree/ostree-fetcher-soup.c
src/libostree/ostree-repo-pull.c